package src.VO;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import org.openswing.swing.message.receive.java.ValueObjectImpl;

@Entity(name = "cards")
public class CardVO extends ValueObjectImpl implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(updatable = false)
	private int idcards;

	@Column(name = "account_type")
	private int accountType;
	@Column
	private int status;
	
	@Column
	private int state;

	public CardVO() {
	}



	public CardVO(int idcards, int accountType, int status, int state) {
		this.idcards = idcards;
		this.accountType = accountType;
		this.status = status;
		this.state = state;
	}



	public int getAccountType() {
		return accountType;
	}



	public void setAccountType(int accountType) {
		this.accountType = accountType;
	}



	public int getStatus() {
		return status;
	}



	public void setStatus(int status) {
		this.status = status;
	}



	public int getState() {
		return state;
	}



	public void setState(int state) {
		this.state = state;
	}



	public int getIdcards() {
		return idcards;
	}



	@Override
	public String toString() {
		return "Card [idcards=" + idcards + ", accountType=" + accountType
				+ ", status=" + status + "]";
	}

}
